package com.zhou.service.impl;


import com.zhou.entity.vo.Questions;
import com.zhou.mapper.QuestionsMapper;
import com.zhou.service.QuestionsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class QuestionsServiceImpl implements QuestionsService {

    @Autowired
    private QuestionsMapper questionsMapper;

    @Override
    public List<Questions> getAll() {
        return questionsMapper.getAll();
    }

    @Override
    public void saveBatch(List<Questions> list) {
        questionsMapper.saveBatch(list);
    }
}
